import Mock from 'mockjs'
import banner from './banner.json'
import floor from './floor.json'
import detail from './detail.json'

Mock.mock('/mock/banner', {code: 200, data: banner})    /*模拟首页轮播图的数据*/
Mock.mock('/mock/floor', {code: 200, data: floor})      /*模拟家用电器数据*/
Mock.mock('/mock/item/2', {code: 200, data: detail})      /*模拟详情页数据*/
